package com.topscomm.main.config;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Description TODO
 * @Classname RabbitConfig
 * @Date 2022/3/8
 * @Created by jiangtao
 */
@Configuration
public class RabbitConfig {
	// 机会点队列
	@Bean
	public Queue ltcChanceQueue() {
		return new Queue("ltcChanceQueue");
	}
	// 销售项目队列
	@Bean
	public Queue ltcMpmQueue() {
		return new Queue("ltcMpmQueue");
	}
	// 投标队列
	@Bean
	public Queue ltcBidQueue() {
		return new Queue("ltcBidQueue");
	}
	// 合同队列
	@Bean
	public Queue ltcContractQueue() {
		return new Queue("ltcContractQueue");
	}
	
	// 财经数据统计角色队列
	@Bean
	public Queue fdsRoleQueue() {
		return new Queue("fdsRoleQueue");
	}

}
